package com.zhouyibike.uu.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/8/8 0008.
 */

public class ProductPayTypeResult implements Serializable{

    /**
     * status : 200
     * data : {"productImg":"http://47.93.46.52:8765/Bannars/01.jpg","content":"约您携手为我们的城市环境保护提供智能解决方案","payTypes":[{"payTypeId":1,"money":0.01,"yiQuan":50,"surplusAmount":201,"productId":1,"totalAmount":0,"type":1},{"payTypeId":2,"money":0.01,"yiQuan":0,"surplusAmount":100,"productId":1,"totalAmount":0,"type":2},{"payTypeId":3,"money":0,"yiQuan":100,"surplusAmount":101,"productId":1,"totalAmount":0,"type":0}]}
     * message : 操作成功!
     * recordCount : null
     * pageCount : null
     */

    private int status;
    private DataBean data;
    private String message;
    private Object recordCount;
    private Object pageCount;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getRecordCount() {
        return recordCount;
    }

    public void setRecordCount(Object recordCount) {
        this.recordCount = recordCount;
    }

    public Object getPageCount() {
        return pageCount;
    }

    public void setPageCount(Object pageCount) {
        this.pageCount = pageCount;
    }

    public static class DataBean implements Serializable{
        /**
         * productImg : http://47.93.46.52:8765/Bannars/01.jpg
         * content : 约您携手为我们的城市环境保护提供智能解决方案
         * payTypes : [{"payTypeId":1,"money":0.01,"yiQuan":50,"surplusAmount":201,"productId":1,"totalAmount":0,"type":1},{"payTypeId":2,"money":0.01,"yiQuan":0,"surplusAmount":100,"productId":1,"totalAmount":0,"type":2},{"payTypeId":3,"money":0,"yiQuan":100,"surplusAmount":101,"productId":1,"totalAmount":0,"type":0}]
         */

        private String productImg;
        private String content;
        private List<PayTypesBean> payTypes;

        public String getProductImg() {
            return productImg;
        }

        public void setProductImg(String productImg) {
            this.productImg = productImg;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public List<PayTypesBean> getPayTypes() {
            return payTypes;
        }

        public void setPayTypes(List<PayTypesBean> payTypes) {
            this.payTypes = payTypes;
        }

        public static class PayTypesBean implements Serializable{
            /**
             * payTypeId : 1
             * money : 0.01
             * yiQuan : 50
             * surplusAmount : 201
             * productId : 1
             * totalAmount : 0
             * type : 1
             */

            private int payTypeId;
            private double money;
            private int yiQuan;
            private int surplusAmount;
            private int productId;
            private int totalAmount;
            private int type;

            public int getPayTypeId() {
                return payTypeId;
            }

            public void setPayTypeId(int payTypeId) {
                this.payTypeId = payTypeId;
            }

            public double getMoney() {
                return money;
            }

            public void setMoney(double money) {
                this.money = money;
            }

            public int getYiQuan() {
                return yiQuan;
            }

            public void setYiQuan(int yiQuan) {
                this.yiQuan = yiQuan;
            }

            public int getSurplusAmount() {
                return surplusAmount;
            }

            public void setSurplusAmount(int surplusAmount) {
                this.surplusAmount = surplusAmount;
            }

            public int getProductId() {
                return productId;
            }

            public void setProductId(int productId) {
                this.productId = productId;
            }

            public int getTotalAmount() {
                return totalAmount;
            }

            public void setTotalAmount(int totalAmount) {
                this.totalAmount = totalAmount;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
        }
    }
}
